package com.aizuda.common.toolkit;

/**
 * 签名工具类
 * <p>
 * 尊重知识产权，CV 请保留版权，爱组搭 http://aizuda.com 出品
 *
 * @author VampireAchao
 * @since 2022-03-22
 */
public class ArrayUtils {

    public static <T> boolean isNotEmpty(T[] array) {
        return array != null && array.length != 0;
    }

    public static <T> boolean isEmpty(T[] array) {
        return array == null || array.length == 0;
    }

}
